package org.corey.voxiverse;

import org.lwjgl.input.Keyboard;

public class InputHandler {
	static void ProcessInput() {
		if (Keyboard.isKeyDown(Keyboard.KEY_W)) {
			Player.PY--;
		}
		if (Keyboard.isKeyDown(Keyboard.KEY_S)) {
			Player.PY++;
		}
		if (Keyboard.isKeyDown(Keyboard.KEY_A)) {
			Player.PX++;
		}
		if (Keyboard.isKeyDown(Keyboard.KEY_D)) {
			Player.PX--;
		}
		if (Keyboard.isKeyDown(Keyboard.KEY_E)) {
			Player.PZ--;
		}
		if (Keyboard.isKeyDown(Keyboard.KEY_Q)) {
			Player.PZ++;
		}

	}
}
